/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

function saveTeamDetail(url,cb){
    $.ajax({
        url:url,
        type:"post",
        dataType:"json",
        data:$("#teamDetail").serialize(),
        success:cb
    })
}

function saveTeamCompanyDetail(url,cb){
    $.ajax({
        url:url,
        type:"post",
        dataType:"json",
        data:$("#teamCompanyDetail").serialize(),
        success:cb
    })
}

function saveTeamProjectDetail(url,cb){
    $.ajax({
        url:url,
        type:"post",
        dataType:"json",
        data:$("#teamProjectDetail").serialize(),
        success:cb
    })
}

function saveTeamFinancingPlan(url,cb){
    $.ajax({
        url:url,
        type:"post",
        dataType:"json",
        data:$("#teamFinancingPlanForm").serialize(),
        success:cb
    })
}
